TickCount
returns number of ticks since system startup
TickCount returns the number of ticks (1/60-th of a second or 16.66 ms intervals) since the last time the system started.
Returns: a 32-bit long; the number of ticks since system startup.
Notes: TickCount is handy for comparing the current time against a value in the (at 0x16A) directly.
If you need to know the time in a format more conducive to screen display,
It is possible for the system to skip a tick or so, so be sure to avoid looking
for a particular tick. For instance, to delay one second, use:
long targetTick;
targetTick = Ticks+60; // one second from now while( Ticks <= targetTick ) // avoid using: Ticks != targetTick ;